package start.spring.basic.demo.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import lombok.Data;

@Data
@TableName("testh")
@ApiModel(value="TestH对象", description="测试h2")
public class TestH implements Serializable {
	
	private static final long serialVersionUID = -4663160009068863362L;

	@TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @TableField("a")
    private String a;

    @TableField("b")
    private String b;
}
